import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    list:[]
  },
  mutations: {
    setList(state, payload) {
      state.list=payload
    }
  },

  actions: {
    setMutationData(state, payload) {
      state.commit("setList",payload)
    }
  },
  modules: {
  }
})
